package com.example.myannotation.annotation;

import java.lang.annotation.Documented;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;

import static java.lang.annotation.ElementType.*;
import static java.lang.annotation.RetentionPolicy.RUNTIME;

/**
 * @author tianzhuang
 * @version 1.0
 * @date 2022/1/7 22:28
 */
@Target({METHOD, FIELD, ANNOTATION_TYPE, CONSTRUCTOR, PARAMETER})
@Retention(RUNTIME)
@Documented
public @interface MyAnnotation {

    /**
     * 转换的值
     *
     * @return
     */
    String readConverterExp() default "";

}